package com.zmj.mobile.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.zmj.mobile.entity.QuoteItemDetailEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 采购询比价/定价主表
 * </p>
 *
 * @author lzy
 * @since 2024-02-01
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class QuoteItemMainVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "定价编号")
    private String itemCode;

    @ApiModelProperty(value = "附件")
    private String attachment;

    @ApiModelProperty(value = "附件路径")
    private String attachmentPath;

    @ApiModelProperty(value = "定价说明")
    private String extraDesc;

    @ApiModelProperty(value = "状态")
    private String dataStatus;

    @ApiModelProperty(value = "审批流id")
    private String flowId;


    @ApiModelProperty(value = "创建人")
    private String createUserName;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "部门编码")
    private String departCode;

    @ApiModelProperty(value = "部门名称")
    private String departName;

    @ApiModelProperty(value = "明细")
    private List<QuoteItemDetailEntity> detailList;

    @ApiModelProperty(value = "taskId")
    private String taskId;
}
